//
//  SYBoardZiYuanViewController.h
//  SanYiTeaching
//
//  Created by 郑浩然 on 2019/9/17.
//  Copyright © 2019年 SanYi. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SYInteractionModel.h"
NS_ASSUME_NONNULL_BEGIN


@protocol SYBoardZiYuanViewControllerDelegate <NSObject>
@optional
/**
 选中了某个item

 @param path 如果是非图片，下载的路径。如果是图片。穿空
 @param zyModel model
 */
- (void)selectItemPath:(NSString *)path ziyuanModel:(SYInteractionZiYuanModel *)zyModel isDownload:(BOOL)isDownload;



@end


typedef void(^SYBoardZiYuanViewBlock)(NSString *path, SYInteractionZiYuanModel *zyModel, BOOL isDownload);


@interface SYBoardZiYuanViewController : UIViewController

@property (strong, nonatomic) NSMutableArray *dataListArr;

@property (weak, nonatomic) id<SYBoardZiYuanViewControllerDelegate>delegate;

@property (copy, nonatomic) SYBoardZiYuanViewBlock block;

@end

NS_ASSUME_NONNULL_END
